package com.lkj.bean;

import org.springframework.context.annotation.Bean;

public class UserConfiguration {

    @Bean
    public User getUser(){

        User user = new User();
        user.setUsername("lkj");
        user.setAge(23);

        return user;
    }
}
